package cn.edu.nwsuaf.examcenter.service;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.ui.ModelMap;

import cn.edu.nwsuaf.examcenter.pojo.Grade;

public interface GradeService {
	abstract String addGrade(Grade grade);
	
	abstract String deleteGrade(String gradeNo);
	
	abstract String deleteGradeList(String array);
	
	abstract void loadGrade(ModelMap modelMap);
	
	abstract List<Grade> jsonLoadGrade(String majorNo);
	
	abstract void exportGrade(HttpServletRequest request, HttpServletResponse response);
	
}
